import request from '@/utils/request';

export async function reqTyDiagnosticTermList(data: any, options?: any): Promise<any> {
	return request('/api/v1/diagnosticTerm/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyDiagnosticTerm(data: any, options?: any): Promise<any> {
	return request('/api/v1/diagnosticTerm/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyDiagnosticTerm(data: any, options?: any): Promise<any> {
	return request('/api/v1/diagnosticTerm/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyDiagnosticTerm(data: any, options?: any): Promise<any> {
	return request('/api/v1/diagnosticTerm/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


